//
//  BBContainerInfoView.h
//  xNose
//
//  Created by ben smith on 9/8/08.
//  Copyright 2008 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@class BBNode;

@interface BBContainerInfoView : NSView {
	BBNode* node;
	float verticalOffset;
	NSView * viewHolder;
	NSPoint mouseDown;
}

@property (retain) BBNode * node;

- (NSAttributedString*)nodeInfo;
- (NSAttributedString*)titleForNode:(BBNode*)aNode line:(BOOL)hasLine;
- (NSAttributedString*)valueForNode:(BBNode*)aNode;
- (id)initWithFrame:(NSRect)frame ;
- (void)drawRect:(NSRect)rect ;
- (void)mouseDragged:(NSEvent*)theEvent;
- (void)setNode:(BBNode*)aNode;
-(float)infoHeightForNode:(BBNode*)aNode;
// 7 methods

-(void)shiftBy:(float)adjust;
@end
